package cn.iocoder.yudao.module.nmkj.controller.admin.tagarticle.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import javax.validation.constraints.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

@Schema(description = "管理后台 - 标签文章新增/修改 Request VO")
@Data
public class TagArticleSaveReqVO {

    @Schema(description = "标签文章ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "15237")
    private Long id;

    @Schema(description = "标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "标题不能为空")
    private String title;

    @Schema(description = "内容", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "内容不能为空")
    private String content;

    @Schema(description = "文章时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "文章时间不能为空")
    private LocalDateTime articleTime;

    @Schema(description = "状态", example = "1")
    private Integer status;

}